package cn.minimelon.solon.domain.cert;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.annotation.entity.Table;
import org.noear.snack.annotation.ONodeAttr;

import java.util.Date;

/**
 * @author : auto
 * @date : 2024-10-14
 * @desc : 推送单明细表
 */
@Getter
@Setter
@ApiModel("推送单明细表")
@Table(name = "qc_push_detail")
public class QcPushDetail {
    /**
     * 推送单ID
     */
    @ApiModelProperty("推送单ID")
    private String pid;
    /**
     * 类型;0:器械注册人,1:器械注册证,2:授权书,3:供应商三证,4:承诺书,5:法人委托书,6:准入证明
     */
    @ApiModelProperty("类型")
    private String certType;
    /**
     * 证照信息;存JSON串
     */
    @ApiModelProperty("证照信息")
    private String certInfo;
    /**
     * 扩展信息
     */
    @ApiModelProperty("扩展信息")
    private String extInfo;

    /**
     * 历史状态;1是0否
     */
    @ApiModelProperty("历史状态")
    private Integer tbStatus;
    /**
     * 推送的证照ID
     */
    @ApiModelProperty("推送的证照ID")
    private String certId;

    @ApiModelProperty(value = "唯一标识")
    private String id;

    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date lastModified;

    @ApiModelProperty(value = "数据版本")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @ONodeAttr(format = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    private String createUser;

    @ApiModelProperty(value = "修改人ID")
    private String lastModifiedUser;
}